<head>
    <link href="css/admin_style.css" rel="stylesheet" type="text/css" />
</head>


<?php
include 'include/head.php';
include 'include/menu.php';
include 'include/setup.php';

$set = new setup();

$searchterm_cname = $_POST['searchterm_cname'];
$searchterm_cdesc = $_POST['searchterm_cdesc'];
$searchterm_cloc = $_POST['searchterm_cloc'];

//$comp_id = $_GET['id'];
//$action = $_GET['action'];

/*if ($_GET['delete'] == 1)
	echo "<script> alert('&#919; &#949;&#947;&#947;&#961;&#945;&#966;&#942; &#948;&#953;&#945;&#947;&#961;&#940;&#966;&#951;&#954;&#949; &#949;&#960;&#953;&#964;&#965;&#967;&#974;&#962;'); </script>";
*/	?>

	
<body class="background">
<?php
$set = new setup();

if(!isset($comp_id))
{	
    include 'include/companies/comp_search.php';
    include 'include/companies/comp_results.php';
}

else if(isset($comp_id)&&($action=="view"))
{
    include 'include/companies/comp_view.php';
}

else if(isset($comp_id)&&($action=="edit"))
{
    include 'include/companies/comp_edit.php';
}
?>
</body>